package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.product.entity.BaseCategory1;
import com.atguigu.gmall.product.entity.CategoryView;
import com.atguigu.gmall.web.CategoryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.atguigu.gmall.product.entity.BaseCategory1
 */
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {

    List<CategoryVo> getCategoryTree();


    CategoryView getCategory(@Param("skuId") Long skuId);
}




